package collect.taobao.service.impl;
import collect.taobao.service.UserService;
import collect.taobao.bean.UserBean;
import collect.taobao.dao.UserDao;


import java.util.List;

public class UserServiceImpl implements UserService{
	
	private UserDao userDao;
	
	public UserServiceImpl() {
		super();
	}

	public int delete(UserBean userBean) {
		return userDao.delete(userBean);
	}

	public UserBean query(String id) {
		return userDao.query(id);
	}

	public List queryList() {
		return userDao.queryList();
	}

	public int save(UserBean userBean) {
		return userDao.save(userBean);
	}

	public int update(UserBean userBean) {
		return userDao.update(userBean);
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
	

}
